import { configureStore } from "@reduxjs/toolkit";
import userReducer from "./modules/user";
import categoryReducer, { setConst } from "./modules/category";

const store = configureStore({
  reducer: {
    user: userReducer,
    category: categoryReducer,
  },
});
store.dispatch(setConst());
export default store;
